package com.aceitunaproject.server.materialgoods;

/**
 * 
 * Represents the relationship between a terrain type or installation and the
 * production of Raw Materials or Manufactured Products (Ticks to produce a
 * block, supply demands (if any), etc)
 * 
 * @author Federico Bergstein
 * 
 * 
 */
public class GoodProduction {
	
	private MaterialGood materialGood;
	private int blocksPerTick;
	
	/**
	 * Sets the GoodProduction "Good"
	 * @param materialGood the Material Good to set
	 */
	public void setMaterialGood(MaterialGood materialGood) {
		this.materialGood = materialGood;
	}
	/**
	 * Gets the GoodProduction "Good"
	 * @return the Material Good
	 */
	public MaterialGood getMaterialGood() {
		return materialGood;
	}
	/**
	 * Sets the number of blocks of the Material Good produced each tick.
	 * @param blocksPerTick the number of ticks needed to produce a block of the Material Good
	 */
	public void setTicksPerBlock(int blocksPerTick) {
		this.blocksPerTick = blocksPerTick;
	}
	/**
	 * Gets the number of blocks of the Material Good produced each tick.
	 * @return  number of blocks of the Material Good produced each tick.
	 */
	public int getBlocksPerTick() {
		return blocksPerTick;
	}

}
